package _Pan3D.program.shaders
{
	import _Pan3D.program.Shader3D;
	
	public class UvMoveNewShader extends Shader3D
	{
		public static var UVMOVE_NEW_SHADER:String = "UVMOVE_NEW_SHADER";
		public function UvMoveNewShader()
		{
			vertex = 
				"m44 vt0, va0, vc4 \n" +
				"m44 vt0, vt0, vc0 \n" +
				"mov op, vt0 \n" +
				"mov v0, va1";
			fragment =
				"mov ft1,v0 \n"+
				"add ft1.x,ft1.x,fc0.x \n"+
				"tex ft1, ft1, fs0 <2d,clamp,repeat>\n"+
				"mov oc, ft1";
		}
	}
}